package felix.things.router.mqtt.persistent;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Felix
 * @date 2019/7/27
 */
@Data
@Slf4j
@Component
@ConfigurationProperties(prefix = "mqttrouter.persistence.config", ignoreInvalidFields = true)
public class PersistenceConfiguration {
    private String type;
    private String path;
    private int bufferSize;
    private int storageSize;
    private long pollingInterval;
}
